package com.weng.platform.stories.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weng.framework.dao.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * 课程信息实体Bean
 *
 * @author wenghui
 * @date 2020-05-17 23:39:06
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("m_iterations")
public class Iterations extends BaseEntity<Iterations> {

    private static final long serialVersionUID = 1L;

    @TableField(value="id")
    private String id;

    /**
     * 标题
     */
    @TableField(value="title")
    private String title;

    /**
     * 介绍
     */
    @TableField(value="introduction")
    private String introduction;

    /**
     * 封面图file_url
     */
    @TableField(value="file_url")
    private String fileUrl;

    /**
     * 排序
     */
    @TableField(value="sort_no")
    private Integer sortNo;

    /**
     * 状态（1已发布0草稿）
     */
    @TableField(value="status")
    private String status;

    /**
     * 删除状态1册除0未删除
     */
    @TableLogic
    @TableField(value="is_del")
    private Integer isDel;

    /**
     * 创建时间
     */
    @TableField(value="create_time",fill = FieldFill.INSERT)
    private Date createTime;


    /**
     * 更新时间
     */
    @TableField(value="update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
